package cn.net.yugu.doraemon.netty.protocol;

import cn.net.yugu.doraemon.netty.factory.msg.MessageFactory;
import cn.net.yugu.doraemon.netty.msg.Message;

public class DefaultMessageFactory implements MessageFactory {

    @Override
    public Class<? extends Message> getClass(int msgCode) {
        return MsgCode.get(msgCode);
    }
}
